package com.android.place360.database;

import java.io.Serializable;

public class Favourite implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int id;
	private String name;
	private double lat;
	private double lng;
	private int catalog;
	private String address;
	private String phone;
	private String[] phone_numbers;
	
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	public Favourite() {
		super();
	}
	public Favourite( String name, double lat, double lng, int catalog,
			String address, String phone) {
		super();
		
		this.name = name;
		this.lat = lat;
		this.lng = lng;
		this.catalog = catalog;
		this.address = address;
		this.phone = phone;
	}
	public String[] getPhone_numbers() {

		if( this.phone !=null && this.phone!=""){
			return this.phone.split(":");
		}
		return null;
	}
	public void setPhone_numbers(String[] phoneNumbers) {
		phone_numbers = phoneNumbers;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public double getLat() {
		return lat;
	}
	public void setLat(double lat) {
		this.lat = lat;
	}
	public double getLng() {
		return lng;
	}
	public void setLng(double lng) {
		this.lng = lng;
	}
	public int getCatalog() {
		return catalog;
	}
	public void setCatalog(int catalog) {
		this.catalog = catalog;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	
	
}
